import request from '@/utils/request'
// 售货机借口

// 获取售货机货道详情
export const getChannelListApi = (id) => {
  return request({
    url: `/api/vm-service/channel/channelList/${id}`
  })
}

// 新增售货机
export const addChannelApi = (data) => {
  return request({
    url: '/api/vm-service/vm',
    method: 'POST',
    data
  })
}
